package cn.tedu.yxcar.product.mapper;

import cn.tedu.yxcar.product.pojo.vo.CarShowVO;
import cn.tedu.yxcar.product.pojo.vo.DetailListVO;
import cn.tedu.yxcar.product.pojo.vo.DetailShowVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DetailMapper {

    List<DetailListVO> getCarByName(String keywords);

    List<DetailListVO> selectByPrice(Integer price1,Integer price2);

    List<DetailShowVO> getCar();

    List<DetailListVO> searPriceBig();

    List<DetailListVO> searPriceSmall();

    List<DetailListVO> searTimeNew();

    List<DetailListVO> searMileageSmall();

    List<DetailListVO> searOldSmall();

    List<DetailListVO> searTypes(String vehicle,Integer caragenum,String carcase);
}
